package com.supreme.common.constant;

public enum EnumServerLVP {

    SIMPLE_SERVER("SimpleServer", "supreme-simple-server", 7130),
    BIZ_ORDER_SERVER("BizOrderServer", "supreme-biz-order-server", 7170),
    BIZ_STOCK_SERVER("BizStockServer", "supreme-biz-stock-server", 7180),
    STUDY_SERVER("StudyServer", "supreme-study-server", 7230),
    ;

    private final String name;

    private final String host;

    private final Integer port;

    EnumServerLVP(String name, String host, Integer port) {
        this.name = name;
        this.host = host;
        this.port = port;
    }

    public String label() {
        return name;
    }

    public String value() {
        return host;
    }

    public Integer port() {
        return port;
    }
}
